let mixins = {
  methods: {
    checkNum(num){
      var reg=/^[0-9]*$/; //判断字符串是否为数字
      if(!reg.test(num)){
        return false;
      }else {
        return true;
      }
    }
  }
}
export default mixins